﻿using System;
using GeoAPI.Geometries;

namespace NetTopologySuite.Geometries.Prepared
{
	public class PreparedPoint : BasicPreparedGeometry
	{
		public PreparedPoint(IPuntal point) : base((IGeometry)point)
		{
		}

		public override bool Intersects(IGeometry g)
		{
			return base.EnvelopesIntersect(g) && base.IsAnyTargetComponentInTest(g);
		}
	}
}
